package com.itheima.health.service;

/**
 * @Author: liangWeiQUQ
 * @Description: TODO
 * @DateTime: 2021/3/5 11:56
 **/
public interface SendCodeService {

    /**
     * @Author: 传闻中的梁大侠
     * @Date: 11:56 2021/3/5
     * @Parms [type, telephone]
     * @ReturnType: com.itheima.health.entity.Result
     * @Description: 发送短信的验证码
     */
    void sendCode(String type, String telephone);
    /**
     * @Author: 传闻中的梁大侠
     * @Date: 11:20 2021/3/4
     * @Parms [param]
     * @ReturnType: com.itheima.health.entity.Result
     * @Description: 提交预约信息实现功能之验证码校验
     */
    boolean checkCode(String order, String telephone, String validateCode);
}
